<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%--<%@ page isELIgnored="false" %>--%>
<html>
<head>

</head>
<title>添加学生信息</title>


<body>
<form action="${BasePath}/student/save" method="post">
    <input type="hidden" name="id" value=""/>
    <tr>
        姓名：<input type="text" name="name" value=""/><br>
    </tr>
    <tr>
        班级：<select name="cid">
        <option value="0" selected="selected" >请选择</option>
        <c:forEach var="obj" items="${list}" varStatus="i">
            <option value="${i.count}">${obj.className}</option>

        </c:forEach>
    </select>

        <br>
    </tr>
    <tr>
        <input type="submit" value="提交"/>&nbsp;
        <a href="/student/list">查看学生列表</a><br/>
        <a href="/banji/toClassList">进入班级列表</a>
    </tr>
</form>

</body>
</html>